.h-modal {
  .ant-modal-mask {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .ant-modal-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
  }
}

.h-modal-fullScreen {
  .ant-modal-wrap {
    overflow: hidden;
  }

  .ant-modal {
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0;
  }

  .ant-modal-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;

    .ant-modal-body, .ant-modal-header, .ant-modal-footer {
      width: 100%;
    }

    .ant-modal-body {
      overflow: auto;
      flex: 1;
      padding: 20px 10px;
      box-sizing: border-box;

      .h-card-wrapper {
        padding: 0;
      }
    }

    .ant-modal-close-x {
      // line-height: 33px;
      line-height: 56px;
    }
  }

  .h-card-content {
    height: 100%;
  }
}